package com.geovis.emergency.spd.entity.pc.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * <p>
 * 应急预案指挥模块-方案审批DTO
 * </p>
 *
 * @author Lonsho
 * @version 1.0
 * @date 2022/6/23
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "PcDrillPlanApprovalDTO", description = "应急预案指挥模块-方案审批DTO")
public class PcDrillPlanApprovalDTO {

    @ApiModelProperty("演练方案id")
    @NotEmpty(message = "演练方案id不能为空")
    private String drillPlanId;

    @ApiModelProperty("是否通过审核")
    @NotNull(message = "是否通过审核不能为空")
    private Boolean pass;

    @ApiModelProperty("退审原因")
    private String rejectReason;
}
